/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package seso;

import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 *
 * @author Administrator
 */
@Entity
@Table(name = "FEOoTemp", catalog = "M3ERP", schema = "dbo")
@NamedQueries({
    @NamedQuery(name = "FEOoTemp.findAll", query = "SELECT f FROM FEOoTemp f"),
    @NamedQuery(name = "FEOoTemp.findByRowId", query = "SELECT f FROM FEOoTemp f WHERE f.rowId = :rowId"),
    @NamedQuery(name = "FEOoTemp.findByFacility", query = "SELECT f FROM FEOoTemp f WHERE f.facility = :facility"),
    @NamedQuery(name = "FEOoTemp.findBySeason", query = "SELECT f FROM FEOoTemp f WHERE f.season = :season"),
    @NamedQuery(name = "FEOoTemp.findByBrand", query = "SELECT f FROM FEOoTemp f WHERE f.brand = :brand"),
    @NamedQuery(name = "FEOoTemp.findByQuality", query = "SELECT f FROM FEOoTemp f WHERE f.quality = :quality"),
    @NamedQuery(name = "FEOoTemp.findByStyle", query = "SELECT f FROM FEOoTemp f WHERE f.style = :style"),
    @NamedQuery(name = "FEOoTemp.findByColor", query = "SELECT f FROM FEOoTemp f WHERE f.color = :color"),
    @NamedQuery(name = "FEOoTemp.findByPrice", query = "SELECT f FROM FEOoTemp f WHERE f.price = :price"),
    @NamedQuery(name = "FEOoTemp.findBySize1", query = "SELECT f FROM FEOoTemp f WHERE f.size1 = :size1"),
    @NamedQuery(name = "FEOoTemp.findBySize2", query = "SELECT f FROM FEOoTemp f WHERE f.size2 = :size2"),
    @NamedQuery(name = "FEOoTemp.findBySize3", query = "SELECT f FROM FEOoTemp f WHERE f.size3 = :size3"),
    @NamedQuery(name = "FEOoTemp.findBySize4", query = "SELECT f FROM FEOoTemp f WHERE f.size4 = :size4"),
    @NamedQuery(name = "FEOoTemp.findBySize5", query = "SELECT f FROM FEOoTemp f WHERE f.size5 = :size5"),
    @NamedQuery(name = "FEOoTemp.findBySize6", query = "SELECT f FROM FEOoTemp f WHERE f.size6 = :size6"),
    @NamedQuery(name = "FEOoTemp.findBySize7", query = "SELECT f FROM FEOoTemp f WHERE f.size7 = :size7"),
    @NamedQuery(name = "FEOoTemp.findBySize8", query = "SELECT f FROM FEOoTemp f WHERE f.size8 = :size8"),
    @NamedQuery(name = "FEOoTemp.findBySize9", query = "SELECT f FROM FEOoTemp f WHERE f.size9 = :size9"),
    @NamedQuery(name = "FEOoTemp.findBySize10", query = "SELECT f FROM FEOoTemp f WHERE f.size10 = :size10"),
    @NamedQuery(name = "FEOoTemp.findByQuantity1", query = "SELECT f FROM FEOoTemp f WHERE f.quantity1 = :quantity1"),
    @NamedQuery(name = "FEOoTemp.findByQuantity2", query = "SELECT f FROM FEOoTemp f WHERE f.quantity2 = :quantity2"),
    @NamedQuery(name = "FEOoTemp.findByQuantity3", query = "SELECT f FROM FEOoTemp f WHERE f.quantity3 = :quantity3"),
    @NamedQuery(name = "FEOoTemp.findByQuantity4", query = "SELECT f FROM FEOoTemp f WHERE f.quantity4 = :quantity4"),
    @NamedQuery(name = "FEOoTemp.findByQuantity5", query = "SELECT f FROM FEOoTemp f WHERE f.quantity5 = :quantity5"),
    @NamedQuery(name = "FEOoTemp.findByQuantity6", query = "SELECT f FROM FEOoTemp f WHERE f.quantity6 = :quantity6"),
    @NamedQuery(name = "FEOoTemp.findByQuantity7", query = "SELECT f FROM FEOoTemp f WHERE f.quantity7 = :quantity7"),
    @NamedQuery(name = "FEOoTemp.findByQuantity8", query = "SELECT f FROM FEOoTemp f WHERE f.quantity8 = :quantity8"),
    @NamedQuery(name = "FEOoTemp.findByQuantity9", query = "SELECT f FROM FEOoTemp f WHERE f.quantity9 = :quantity9"),
    @NamedQuery(name = "FEOoTemp.findByQuantity10", query = "SELECT f FROM FEOoTemp f WHERE f.quantity10 = :quantity10"),
    @NamedQuery(name = "FEOoTemp.findByStatus", query = "SELECT f FROM FEOoTemp f WHERE f.status = :status")})
public class FEOoTemp implements Serializable {
    @Transient
    private PropertyChangeSupport changeSupport = new PropertyChangeSupport(this);
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "RowId")
    private Integer rowId;
    @Column(name = "Facility")
    private String facility;
    @Column(name = "Season")
    private String season;
    @Column(name = "Brand")
    private String brand;
    @Column(name = "Quality")
    private String quality;
    @Column(name = "Style")
    private String style;
    @Column(name = "Color")
    private String color;
    // @Max(value=?)  @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Column(name = "Price")
    private BigDecimal price;
    @Column(name = "Size1")
    private String size1;
    @Column(name = "Size2")
    private String size2;
    @Column(name = "Size3")
    private String size3;
    @Column(name = "Size4")
    private String size4;
    @Column(name = "Size5")
    private String size5;
    @Column(name = "Size6")
    private String size6;
    @Column(name = "Size7")
    private String size7;
    @Column(name = "Size8")
    private String size8;
    @Column(name = "Size9")
    private String size9;
    @Column(name = "Size10")
    private String size10;
    @Column(name = "Quantity1")
    private Integer quantity1;
    @Column(name = "Quantity2")
    private Integer quantity2;
    @Column(name = "Quantity3")
    private Integer quantity3;
    @Column(name = "Quantity4")
    private Integer quantity4;
    @Column(name = "Quantity5")
    private Integer quantity5;
    @Column(name = "Quantity6")
    private Integer quantity6;
    @Column(name = "Quantity7")
    private Integer quantity7;
    @Column(name = "Quantity8")
    private Integer quantity8;
    @Column(name = "Quantity9")
    private Integer quantity9;
    @Column(name = "Quantity10")
    private Integer quantity10;
    @Column(name = "Status")
    private String status;

    public FEOoTemp() {
    }

    public FEOoTemp(Integer rowId) {
        this.rowId = rowId;
    }

    public Integer getRowId() {
        return rowId;
    }

    public void setRowId(Integer rowId) {
        Integer oldRowId = this.rowId;
        this.rowId = rowId;
        changeSupport.firePropertyChange("rowId", oldRowId, rowId);
    }

    public String getFacility() {
        return facility;
    }

    public void setFacility(String facility) {
        String oldFacility = this.facility;
        this.facility = facility;
        changeSupport.firePropertyChange("facility", oldFacility, facility);
    }

    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        String oldSeason = this.season;
        this.season = season;
        changeSupport.firePropertyChange("season", oldSeason, season);
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        String oldBrand = this.brand;
        this.brand = brand;
        changeSupport.firePropertyChange("brand", oldBrand, brand);
    }

    public String getQuality() {
        return quality;
    }

    public void setQuality(String quality) {
        String oldQuality = this.quality;
        this.quality = quality;
        changeSupport.firePropertyChange("quality", oldQuality, quality);
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        String oldStyle = this.style;
        this.style = style;
        changeSupport.firePropertyChange("style", oldStyle, style);
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        String oldColor = this.color;
        this.color = color;
        changeSupport.firePropertyChange("color", oldColor, color);
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        BigDecimal oldPrice = this.price;
        this.price = price;
        changeSupport.firePropertyChange("price", oldPrice, price);
    }

    public String getSize1() {
        return size1;
    }

    public void setSize1(String size1) {
        String oldSize1 = this.size1;
        this.size1 = size1;
        changeSupport.firePropertyChange("size1", oldSize1, size1);
    }

    public String getSize2() {
        return size2;
    }

    public void setSize2(String size2) {
        String oldSize2 = this.size2;
        this.size2 = size2;
        changeSupport.firePropertyChange("size2", oldSize2, size2);
    }

    public String getSize3() {
        return size3;
    }

    public void setSize3(String size3) {
        String oldSize3 = this.size3;
        this.size3 = size3;
        changeSupport.firePropertyChange("size3", oldSize3, size3);
    }

    public String getSize4() {
        return size4;
    }

    public void setSize4(String size4) {
        String oldSize4 = this.size4;
        this.size4 = size4;
        changeSupport.firePropertyChange("size4", oldSize4, size4);
    }

    public String getSize5() {
        return size5;
    }

    public void setSize5(String size5) {
        String oldSize5 = this.size5;
        this.size5 = size5;
        changeSupport.firePropertyChange("size5", oldSize5, size5);
    }

    public String getSize6() {
        return size6;
    }

    public void setSize6(String size6) {
        String oldSize6 = this.size6;
        this.size6 = size6;
        changeSupport.firePropertyChange("size6", oldSize6, size6);
    }

    public String getSize7() {
        return size7;
    }

    public void setSize7(String size7) {
        String oldSize7 = this.size7;
        this.size7 = size7;
        changeSupport.firePropertyChange("size7", oldSize7, size7);
    }

    public String getSize8() {
        return size8;
    }

    public void setSize8(String size8) {
        String oldSize8 = this.size8;
        this.size8 = size8;
        changeSupport.firePropertyChange("size8", oldSize8, size8);
    }

    public String getSize9() {
        return size9;
    }

    public void setSize9(String size9) {
        String oldSize9 = this.size9;
        this.size9 = size9;
        changeSupport.firePropertyChange("size9", oldSize9, size9);
    }

    public String getSize10() {
        return size10;
    }

    public void setSize10(String size10) {
        String oldSize10 = this.size10;
        this.size10 = size10;
        changeSupport.firePropertyChange("size10", oldSize10, size10);
    }

    public Integer getQuantity1() {
        return quantity1;
    }

    public void setQuantity1(Integer quantity1) {
        Integer oldQuantity1 = this.quantity1;
        this.quantity1 = quantity1;
        changeSupport.firePropertyChange("quantity1", oldQuantity1, quantity1);
    }

    public Integer getQuantity2() {
        return quantity2;
    }

    public void setQuantity2(Integer quantity2) {
        Integer oldQuantity2 = this.quantity2;
        this.quantity2 = quantity2;
        changeSupport.firePropertyChange("quantity2", oldQuantity2, quantity2);
    }

    public Integer getQuantity3() {
        return quantity3;
    }

    public void setQuantity3(Integer quantity3) {
        Integer oldQuantity3 = this.quantity3;
        this.quantity3 = quantity3;
        changeSupport.firePropertyChange("quantity3", oldQuantity3, quantity3);
    }

    public Integer getQuantity4() {
        return quantity4;
    }

    public void setQuantity4(Integer quantity4) {
        Integer oldQuantity4 = this.quantity4;
        this.quantity4 = quantity4;
        changeSupport.firePropertyChange("quantity4", oldQuantity4, quantity4);
    }

    public Integer getQuantity5() {
        return quantity5;
    }

    public void setQuantity5(Integer quantity5) {
        Integer oldQuantity5 = this.quantity5;
        this.quantity5 = quantity5;
        changeSupport.firePropertyChange("quantity5", oldQuantity5, quantity5);
    }

    public Integer getQuantity6() {
        return quantity6;
    }

    public void setQuantity6(Integer quantity6) {
        Integer oldQuantity6 = this.quantity6;
        this.quantity6 = quantity6;
        changeSupport.firePropertyChange("quantity6", oldQuantity6, quantity6);
    }

    public Integer getQuantity7() {
        return quantity7;
    }

    public void setQuantity7(Integer quantity7) {
        Integer oldQuantity7 = this.quantity7;
        this.quantity7 = quantity7;
        changeSupport.firePropertyChange("quantity7", oldQuantity7, quantity7);
    }

    public Integer getQuantity8() {
        return quantity8;
    }

    public void setQuantity8(Integer quantity8) {
        Integer oldQuantity8 = this.quantity8;
        this.quantity8 = quantity8;
        changeSupport.firePropertyChange("quantity8", oldQuantity8, quantity8);
    }

    public Integer getQuantity9() {
        return quantity9;
    }

    public void setQuantity9(Integer quantity9) {
        Integer oldQuantity9 = this.quantity9;
        this.quantity9 = quantity9;
        changeSupport.firePropertyChange("quantity9", oldQuantity9, quantity9);
    }

    public Integer getQuantity10() {
        return quantity10;
    }

    public void setQuantity10(Integer quantity10) {
        Integer oldQuantity10 = this.quantity10;
        this.quantity10 = quantity10;
        changeSupport.firePropertyChange("quantity10", oldQuantity10, quantity10);
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        String oldStatus = this.status;
        this.status = status;
        changeSupport.firePropertyChange("status", oldStatus, status);
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (rowId != null ? rowId.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof FEOoTemp)) {
            return false;
        }
        FEOoTemp other = (FEOoTemp) object;
        if ((this.rowId == null && other.rowId != null) || (this.rowId != null && !this.rowId.equals(other.rowId))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "seso.FEOoTemp[ rowId=" + rowId + " ]";
    }

    public void addPropertyChangeListener(PropertyChangeListener listener) {
        changeSupport.addPropertyChangeListener(listener);
    }

    public void removePropertyChangeListener(PropertyChangeListener listener) {
        changeSupport.removePropertyChangeListener(listener);
    }
    
}
